<!-- 会员中心 -->
<!DOCTYPE html>
<html class="no-js admin <?php if($ps==800){?>responsive-540<?php }?> responsive-<?php echo $ps;?>" lang="zh-CN" >
<head>
    <meta charset="utf-8">
    <meta name="keywords" content="Bidcms,微信商城,粉丝营销,微信商城运营" />
    <meta name="description" content="Bidcms是帮助商家在微信上搭建微信商城的平台，提供店铺、商品、订单、物流、消息和客户的管理模块，同时还提供丰富的营销应用和活动插件。" />
    <meta name="HandheldFriendly" content="True">
    <meta name="MobileOptimized" content="320">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="cleartype" content="on">
    <!-- dns prefetch -->
    <link rel="dns-prefetch" href="//tj.bidcms.com/" /> 
    <link rel="dns-prefetch" href="//imgqn.bidcms.com/" />
    <link rel="dns-prefetch" href="//kdt-static.qiniudn.com/" />

    <link rel="icon" href="${webRoot}/static/v2/image/favicon.ico" />
    <title><?php echo $data[0]['title'];?></title>
    <!-- _global -->
    <script>
    var _global ='${global.base}';
	_global.team_status=<?php echo json_encode($GLOBALS['_global']['team_status']);?>;
	_global.url=''${global.url}'';
	_global.mp_data=encodeURIComponent('${global.mp_data}');
	_global.query_path="/showcase/usercenter";
	_global.module="showcase";
	_global.controller="wap_controller";
	_global.action="usercenter_action";
	window.UEDITOR_HOME_URL = _global.url.base + "/static/v2/vendor/ueditor/dist/";
    //base_head_script.js
    function viewportMeta(){var e=parseInt(window.screen.width),t=e/640,i=navigator.userAgent;if(/Android (\d+\.\d+)/.test(i)){var a=parseFloat(RegExp.$1);document.write(a>2.3?'<meta name="viewport" content="width=640, minimum-scale = '+t+", maximum-scale = "+t+', target-densitydpi=device-dpi">':'<meta name="viewport" content="width=640, target-densitydpi=device-dpi">')}else document.write('<meta name="viewport" content="width=640, user-scalable=no, target-densitydpi=device-dpi">')}function _cdnFallback(e){var t=e.nodeName.toLowerCase(),i=document.createElement(t),a={script:"src",link:"href"},n=a[t],o=e[n];o=o.replace("kdt-static.qiniudn.com","static.bidcms.com"),"link"==t&&(i.rel="stylesheet"),i[n]=o,document.body.appendChild(i)}!function(e){var t=document.documentElement;e.match(/micromessenger\/5/gi)?t.className=t.className+" mobile wx_mobile wx_mobile_5":e.match(/micromessenger/gi)?t.className=t.className+" mobile wx_mobile":window._global.is_mobile&&(t.className=t.className+" mobile")}(navigator.userAgent||navigator.vendor||window.opera);
</script>


    <!-- meta viewport -->
            <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    
    <!-- CSS -->
    <link rel="stylesheet" href="${webRoot}/static/v2/build_css/stylesheets/wap/base.css" >    
	<link rel="stylesheet" href="${webRoot}/static/v2/build_css/stylesheets/wap/projects/showcase_admin.css" >        </head>

<body class=" ">
        <!-- container -->
    <div class="container ">
        <div class="header">
            <div class="headerbar">
            <div class="headerbar-wrap clearfix">
                                <div class="headerbar-preview">
                    <span>预览：</span>
                    <ul>
                        <li>
                           <a href="<?php echo WAP_ROOT;?>/index.php?con=buyer&act=usercenter&id=<?php echo $id;?>&ps=320" class="js-no-follow  <?php echo $ps=='320'?'active':'';?>" data-size="default">iPhone版</a>
                        </li>
                        <li>
                           <a href="<?php echo WAP_ROOT;?>/index.php?con=buyer&act=usercenter&alias=<?php echo $alias;?>&ps=540" class="js-no-follow  <?php echo $ps=='540'?'active':'';?>" data-size="540">三星Note3版</a>
                        </li>
                        <li>
                            <a href="<?php echo WAP_ROOT;?>/index.php?con=buyer&act=usercenter&alias=<?php echo $alias;?>&ps=800" class="js-no-follow  <?php echo $ps=='800'?'active':'';?>" data-size="800">PC版</a>
                        </li>
                   </ul>
                </div>
                                                <div class="headerbar-reedit">
                    <a href="${webRoot}/index.php?con=showcase&act=usercenter" class="js-no-follow">重新编辑</a>
                </div>
                            </div>
        </div>
        <!-- ▼顶部通栏 -->
    <div class="js-mp-info share-mp-info">
		<a class="page-mp-info" href="<?php echo url('show','index',,array('bid_id'=>$bidcms_store_id));?>">
			<img class="mp-image" width="24" height="24" src="<?php echo $shop['logo'];?>"/>
			<i class="mp-nickname"><?php echo $shop['shop_name'];?></i>
		</a>
		<div class="links">
			<a class="mp-homepage" href="<?php echo url('show','usercenter',array('bid_id'=>$bidcms_store_id));?>">我的记录</a>
			<a class="js-open-fav follow-mp" href="javascript:;">收藏</a>
		</div>
	</div>
    <!-- ▲顶部通栏 -->
</div>        <div class="content js-mini-height">
        <div class="content-body">
    
                    
        <!-- 等级/积分 -->
<div class="custom-level">
<img class="custom-level-img js-lazy " data-src="<?php echo $data[0]['image']['url'];?>" />
    <div class="custom-level-title-section js-custom-level-title-section hide">
        <h5 class="custom-level-title">
                    <?php if($data[0]['show_level']>0){?><?php echo $data[0]['level_msg'];?> <span class="js-custom-level"></span><?php }?>
                    <?php if($data[0]['show_point']>0){?>
					<br><?php echo $data[0]['point_msg'];?><span class="js-custom-point"></span>
					<?php }?>
                    </h5>
    </div>
</div>
                    
        <div class="order-related">
    <ul class="uc-order list-horizon clearfix">
                <li>
            <a class="link clearfix" href="http://wap.bidcms.com/v2/trade/order/list?type=topay" target="_blank">
                <p class="title-num c-black font-size-16">0</p>
                <p class="title-info c-black font-size-12">待付款</p>
            </a>
        </li>
        <li>
            <a class="link clearfix" href="http://wap.bidcms.com/v2/trade/order/list?type=tosend" target="_blank">
                <p class="title-num c-black font-size-16">0</p>
                <p class="title-info c-black font-size-12">待发货</p>
            </a>
        </li>
        <li>
            <a class="link clearfix" href="http://wap.bidcms.com/v2/trade/order/list?type=send" target="_blank">
                <p class="title-num c-black font-size-16">0</p>
                <p class="title-info c-black font-size-12">已发货</p>
            </a>
        </li>
        <li>
            <a class="link clearfix" href="http://wap.bidcms.com/v2/trade/order/list?type=sign" target="_blank">
                <p class="title-num c-black font-size-16">0</p>
                <p class="title-info c-black font-size-12">已签收</p>
            </a>
        </li>
    </ul>
    <div class="block block-list list-vertical">
        <a class="block-item link clearfix" href="http://wap.bidcms.com/v2/trade/order/list?type=all" target="_blank">
            <p class="title-info c-black font-size-14">全部订单</p>
        </a>
    </div>

    <div class="block block-list list-vertical">
        <a class="block-item link clearfix" href="http://wap.bidcms.com/v2/trade/order/list?type=gift_receive" target="_blank">
            <p class="title-info c-black font-size-14">我收到的礼物</p>
        </a>
        <a class="block-item link clearfix" href="http://wap.bidcms.com/v2/showcase/coupon/list" target="_blank">
            <p class="title-info c-black font-size-14">我的优惠券</p>
        </a>
        <a class="block-item link clearfix" href="http://wap.bidcms.com/v2/showcase/promocode/list" target="_blank">
            <p class="title-info c-black font-size-14">我的优惠码</p>
        </a>
    </div>

    </div>
    </div>                       		
	<?php include bidcms_template('global_sidebar');?> 
   	<?php include bidcms_template('global_shopnav');?> 
    
                            
<div class="shopnav js-navmenu nav-on-bottom style-2">
            <div class="nav-menu has-menu-3">
        <a href="index.php?con=show" class="home">主页</a>
        <div class="divide">&nbsp;</div>
                                <div class="one">
            <a class="mainmenu js-mainmenu" href="index.php?con=showcase/tag?alias=8w9wq4z6">
                                <span class="mainmenu-txt">最新商品</span>
            </a>
                    </div>

                                    <div class="divide">&nbsp;</div>
                <div class="one">
            <a class="mainmenu js-mainmenu" href="http://wap.bidcms.com/v2/showcase/tag?alias=1e4dznzl5">
                                <span class="mainmenu-txt">最热商品</span>
            </a>
                    </div>

                                    <div class="divide">&nbsp;</div>
                <div class="one">
            <a class="mainmenu js-mainmenu" href="http://wap.bidcms.com/v2/showcase/usercenter?alias=9zr1r4l1">
                                <span class="mainmenu-txt">我的订单</span>
            </a>
                    </div>

            </div>
</div>
            </div>        
			<div class="js-footer" style="min-height: 1px;">
			<?php include bidcms_template('global_footer');?> 
            </div>
        </div>
		
		</div>

    <!-- JS -->
    <script src="${webRoot}/static/v2/vendor/jquery-2.0.3.min.js" ></script>   

    <script src="${webRoot}/static/v2/build/wap/base.js" ></script> 
    <script src="${webRoot}/static/v2/build/wap/showcase/index.js" ></script>        
	<a id="global-cart" class="global-cart-wrap hide not-empty" href="http://wap.bidcms.com/v2/trade/cart?bid_id=<?php echo $bidcms_store_id;?>">
</a>
<script>
window.refreshCartIcon = function(){
    !!$ && $.ajax({
        url: window._global.url.www + '/trade/cart/count.php',
        type: 'GET',
        timeout: 5000,
        dataType : "json",
        success: function(resp) {
            if(parseInt(resp.code)===0) {
                var count = parseInt(resp.data);
                if(count>0) {
                    $('#global-cart').removeClass('hide');
                } else {
                    $('#global-cart').addClass('hide');
                }
            }
        }
    });
};
refreshCartIcon();
</script>
</body>
</html>